package Program;

public class Crectangle {
int width;
int height;
public Crectangle(int a, int b){
	width=a;
	height=b;
}
public int area(){
	return (width*height);
}
	public static void main(String[] args) {
		Crectangle recta=new Crectangle (3,4);
		Crectangle rectb=new Crectangle (5,6);
		rectb=recta;
		System.out.println("rect a:"+recta.area());
		System.out.println("rect b:"+rectb.area());

	}

}
